<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 9/28/14
 * Time: 10:50 AM
 */

namespace parser;

if (!defined('NYMPH_ROOT')) {
  define('NYMPH_ROOT', dirname("../../../" . __FILE__));
  require(NYMPH_ROOT . '/local/loader/kernel/classes/URLClassLoader.php');
}

/**
 * The IParser interface provides the main functional
 * for parsing something
 */
interface IParser
{

  /**
   * (PHP 5)<br/>
   * Trying to parse some object
   * @param string $object
   * @return array array with parsed object
   */
  function parse($object);

  /**
   * (PHP 5)<br/>
   * Trying to parse array with objects
   * @return array array with parsed object
   */
  function parseAll();
}